using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using WozLib.UI.Ink.SketchProperties;

using WozLib.UI.Ink.SketchObjects;

namespace WozLib.UI.Ink.SketchProperties
{
  public class InkThicknessCascadingProperty : CascadingProperty
  {

    public InkThicknessSketchProperty WozThicknessProperty
    {
      get { return WozProperty as InkThicknessSketchProperty; }
      set { WozProperty = value; }
    }


    public InkThicknessCascadingProperty(List<ISketchObject> iWozObjects, InkThicknessSketchProperty wozThicknessProperty)
      : base(iWozObjects, wozThicknessProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.WozThicknessProperty.Data = new Thickness(1.0);
      }
    }
  }
}
